{php include pubTemplate("header_admin")}

<div class="midder">

{php include template("admin/menu");}

<div><form method="post" action="{SITE_URL}index.php?app=tag&ac=admin&mg=do&ts=adddo"><input type="text" name="tag" /><input type="submit" value="添加标签" /></form></div>

<div class="page">{$pageUrl}</div>

<table class="table table-hover">


    <thead class="thead-light">
    <tr><th>ID</th><th>标签名字</th><th>创建时间</th><th>操作</th></tr>
    </thead>



    <tbody>


    {loop $arrTags $key $item}
    <tr><td>{$item[tagid]}</td><td>{$item[tagname]}</td><td>{php echo date('Y-m-d H:i:s',$item[uptime])}</td><td>

        <a href="{SITE_URL}index.php?app=tag&ac=admin&mg=do&ts=opt&tagid={$item[tagid]}">[优化]</a>

        <a href="{SITE_URL}index.php?app=tag&ac=admin&mg=do&ts=isaudit&tagid={$item[tagid]}&isaudit=<!--{if $item[isaudit]=='0'}-->1<!--{else}-->0<!--{/if}-->"><!--{if $item[isaudit]=='0'}-->[取消审核]<!--{else}--><font color="red">[审核]</font><!--{/if}--></a> <a href="{SITE_URL}index.php?app=tag&ac=admin&mg=do&ts=del&tagid={$item[tagid]}&page=$page">[删除]</a></td></tr>
    {/loop}


    </tbody>



</table>

</div>
{php include pubTemplate("footer_admin")}